Skip to content

Fix call to undefined function Fixes Issue #23#24

Merged
elisseck merged 1 commit into
backdrop-contrib:1.x-1.xfrom
bennybobw:23-undefined-function
Feb 20, 2026
Merged

Fix call to undefined function Fixes Issue #23#24
elisseck merged 1 commit into
backdrop-contrib:1.x-1.xfrom
bennybobw:23-undefined-function

Conversation

@bennybobw

Copy link
Copy Markdown

While working on porting entity_translation, I found a call to an undefined function entity_ui_clone_entity(). I didn't see any other entity clone functions in backdrop core entity or entity_plus so I chose to copy the code directly from the Drupal 7 version.

Fixes Issue #23

While working on porting entity_translation, I found a call to an
undefined function entity_ui_clone_entity(). I didn't see any other
entity clone functions in backdrop core entity or entity_plus so I chose
to copy the code directly from the Drupal 7 version.
@argiepiano

Copy link
Copy Markdown
Contributor

That function does exist, there is no need to duplicate the code:
https://github.com/backdrop-contrib/entity_ui/blob/83d01aa16291cafc1ba7df1165277c7c48bcf7b4/entity_ui.module#L426

Also a reminder to please use the magic words "Fixes XXX" when you submit PRs, that will assure the issue is closed when merged.

@bennybobw

Copy link
Copy Markdown
Author

My bad!

@bennybobw bennybobw closed this Mar 19, 2025
@elisseck

Copy link
Copy Markdown
Collaborator

Based on the conversation in #23 i'm re-opening this PR as the accepted idea to move forward.

@elisseck elisseck reopened this Feb 20, 2026
@elisseck elisseck merged commit 0d80f50 into backdrop-contrib:1.x-1.x Feb 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants